using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace XGame.UI
{
    public class _TT_DragTouch : MonoBehaviour
    {
        // Start is called before the first frame update
        void Start()
        {

        }

        // Update is called once per frame
        void Update()
        {

        }

        public void Drag(Vector2 _dpos)
        {
            transform.localPosition += (Vector3)_dpos;
            Debug.Log($"_TT_DragTouch.Drag:{_dpos}");
        }
        public void Click()
        {
            Debug.Log("_TT_DragTouch.Cick");
        }
    }
}

